﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace zhwy.saas.api.Entity.Sys
{
    /// <summary>
    /// 角色信息表
    ///</summary>
    [SugarTable("roles")]
    public class RolesEntity : TenantBaseEntity
    {
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 备 注:角色编码
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "code")]
        public string Code { get; set; } = null!;
        /// <summary>
        /// 备  注:角色名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; } = null!;

        /// <summary>
        /// 备  注:状态（0启用，1禁用，9删除）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "status")]
        public int Status { get; set; }
    }

}